package com.stylefeng.guns.modular.pay.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.stylefeng.guns.modular.pay.dao.MchInfoMapper;
import com.stylefeng.guns.modular.pay.model.MchInfo;
import com.stylefeng.guns.modular.pay.service.IMchInfoService;

/**
 * <p>
 * 商户信息表 服务实现类
 * </p>
 *
 * @author stylefeng
 * @since 2018-08-24
 */
@Service
public class MchInfoServiceImpl extends ServiceImpl<MchInfoMapper, MchInfo> implements IMchInfoService {
	@Autowired
	private MchInfoMapper mchInfoMapper;
	
	
	@Override
	public MchInfo findByMchNo(String mchNo) {
		MchInfo info = new MchInfo();
		info.setMchNo(mchNo);
		return mchInfoMapper.selectOne(info);
	}

}
